package de.gameduell.net.src.hashing {

	/**
	 * @author GD
	 */
	public class HashFactory {
		public static const MD5:int  = 1;
		public static const FAKE:int = 2;
		
		public function createHash(version:int):IHashing{
			switch(version){
				case(MD5): 	return new MD5Hash();
				case(FAKE): return new FakeHash();
				default: 	return null;
			}
		}
	}
}
